<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
    include("handle/config.php");
?>
<?php
	session_start();
	ob_start();
?>
<title>Liên chi</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<!--<script type="text/javascript" src="scripts/jquery-1.4.1.min.js"></script>-->
<script type="text/javascript" src="js template/jquery-1.11.0.js"></script>
<script type="text/javascript" src="scripts/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="scripts/jquery.timers.1.2.js"></script>
<!--<script type="text/javascript" src="scripts/jquery.galleryview.2.1.1.min.js"></script>
<script type="text/javascript" src="scripts/jquery.galleryview.setup.js"></script>-->
<script type="text/javascript" src="scripts/jquery.galleryview-3.0-dev.js"></script>
<link type="text/css" rel="stylesheet" href="styles/jquery.galleryview-3.0-dev.css" />
<link rel="stylesheet" href="styles/custom.css" type="text/css" />
<!-- custom link -->
</head>
<body id="top">
<!-- ####################################################################################################### -->
<!--#include virtual=".html" -->
	<?php include("header.html"); ?>
	<?php include("php sources/TinTucSuKien.php");?>
<!-- ####################################################################################################### -->
	<div class="body">
		<div class="middle">
			<div class="wrapper">
			  <div class="container">
				<div class="content">
				  <div id="featured_slide">
					<ul id="featurednews">
					<?php
						$ttsk=array();
						$ttsk=TTSK::GetTinTucSuKien(11,"Chi Hội");
					?> 
					  <li><img src=<?php echo $ttsk[0]->anhbia;?> alt="" />
						<div class="panel-overlay">
						  <h2><?php echo substr($ttsk[0]->tieude,0,30); ?></h2>
						  <p><?php echo substr($ttsk[0]->noidung,0,30); ?><br />
							<a href=<?php echo "TinTuc_SuKien.php?content=xemtin&matt=".$ttsk[0]->mattsk;?> >Đọc  tiếp &raquo;</a></p>
						</div>
					  </li>
					  <li><img src=<?php echo $ttsk[1]->anhbia;?> alt="" />
						<div class="panel-overlay">
						   <h2><?php echo substr($ttsk[1]->tieude,0,30); ?></h2>
						  <p><?php echo substr($ttsk[1]->noidung,0,30); ?><br />
							<a href="#">Đọc  tiếp &raquo;</a></p>
						</div>
					  </li>
					  <li><img src=<?php echo $ttsk[2]->anhbia;?> alt="" />
						<div class="panel-overlay">
						   <h2><?php echo substr($ttsk[2]->tieude,0,30); ?></h2>
						  <p><?php echo substr($ttsk[2]->noidung,0,30); ?><br />
							<a href="#">Đọc  tiếp &raquo;</a></p>
						</div>
					  </li>
					  <li><img src=<?php echo $ttsk[3]->anhbia;?> alt="" />
						<div class="panel-overlay">
						   <h2><?php echo substr($ttsk[3]->tieude,0,30); ?></h2>
						  <p><?php echo substr($ttsk[3]->noidung,0,30); ?><br />
							<a href="#">Đọc  tiếp &raquo;</a></p>
						</div>
					  </li>
					  <li><img src=<?php echo $ttsk[4]->anhbia;?> alt="" />
						<div class="panel-overlay">
						   <h2><?php echo substr($ttsk[4]->tieude,0,30); ?></h2>
						  <p><?php echo substr($ttsk[4]->noidung,0,30); ?><br />
							<a href="#">Đọc  tiếp &raquo;</a></p>
						</div>
					  </li>
					</ul>
				  </div>
				</div>
				
				<div class="column">
				  <ul class="latestnews">
					<li><img src=<?php echo $ttsk[5]->anhbia;?> alt="" />
					  <p><strong><a href="#"><?php echo substr($ttsk[5]->tieude,0,30); ?></a></strong> <?php echo substr($ttsk[5]->noidung,0,30); ?></p>
					</li>
					<li><img src=<?php echo $ttsk[6]->anhbia;?> alt="" />
					  <p><strong><a href="#"><?php echo substr($ttsk[6]->tieude,0,30); ?></a></strong> <?php echo substr($ttsk[6]->noidung,0,30); ?></p>
					</li>
					<li class="last"><img src=<?php echo $ttsk[7]->anhbia;?> alt="" />
					  <p><strong><a href="#"><?php echo substr($ttsk[7]->tieude,0,30); ?></a></strong> <?php echo substr($ttsk[7]->noidung,0,30); ?></p>
					</li>
				  </ul>
				</div>
				<br class="clear" />
			  </div>
			</div>
			<!-- ####################################################################################################### -->
			<div class="wrapper">
			  <div id="adblock">
				<div class="fl_left"><a href="#"><img src="" alt="" /></a></div>
				<div class="fl_right"><a href="#"><img src="" alt="" /></a></div>
				<br class="clear" />
			  </div>
			  <div id="hpage_cats">
				<div class="fl_left">
				  <h2><a href="TinTuc_SuKien.php?content=xemdstt&theloai=TL02">Kỹ năng sống &raquo;</a></h2>
					  <?php  
						$kns=array();
						$kns=TTSK::GetTinTucSuKienTheoTL(1,"Kỹ năng sống","Chi hội");
					  ?>
				  <img class="caption_image" src=<?php echo $kns[0]->anhbia; ?> alt="" />
				  <p><strong><a href=<?php echo 'TinTuc_SuKien.php?content=xemtin&matt='.$kns[0]->mattsk; ?> > <?php echo substr($kns[0]->tieude,0,30); ?></a></strong></p>
				  <p><?php echo substr($kns[0]->noidung,0,200); ?></p>
				</div>
				<div class="fl_right">
				  <h2><a href="TinTuc_SuKien.php?content=xemdstt&theloai=TL03">Hoạt động &raquo;</a></h2>
				  <?php  
						$hd=array();
						$hd=TTSK::GetTinTucSuKienTheoTL(1,"Hoạt động","Chi hội");
					  ?>
				  <img class="caption_image" src=<?php echo $hd[0]->anhbia; ?> alt="" />
				  <p><strong><a href=<?php echo 'TinTuc_SuKien.php?content=xemtin&matt='.$hd[0]->mattsk; ?>> <?php echo substr($hd[0]->tieude,0,30); ?></a></strong></p>
				  <p><?php echo substr($hd[0]->noidung,0,200); ?></p>
				</div>
				<br class="clear" />
				<div class="fl_left">
				  <h2><a href="TinTuc_SuKien.php?content=xemdstt&theloai=TL04">Học tập &raquo;</a></h2>
				  <?php  
						$ht=array();
						$ht=TTSK::GetTinTucSuKienTheoTL(1,"Học tập","Chi hội");
					  ?>
				  <img class="caption_image" src=<?php echo $ht[0]->anhbia; ?> alt="" />
				  <p><strong><a href=<?php echo 'TinTuc_SuKien.php?content=xemtin&matt='.$gt[0]->mattsk; ?>> <?php echo substr($ht[0]->tieude,0,30); ?></a></strong></p>
				  <p><?php echo substr($ht[0]->noidung,0,200); ?></p>
				</div>
				<div class="fl_right">
				  <h2><a href="TinTuc_SuKien.php?content=xemdstt&theloai=TL05">Giải trí &raquo;</a></h2>
				  <?php  
						$gt=array();
						$gt=TTSK::GetTinTucSuKienTheoTL(1,"Giải trí","Chi hội");
					  ?>
				  <img class="caption_image" src=<?php echo $gt[0]->anhbia; ?> alt="" />
				  <p><strong><a href=<?php echo 'TinTuc_SuKien.php?content=xemtin&matt='.$gt[0]->mattsk; ?>> <?php echo substr($gt[0]->tieude,0,30); ?></a></strong></p>
				  <p><?php echo substr($gt[0]->noidung,0,200); ?></p>
				</div>
				<br class="clear" />
			  </div>
			</div>
			<!-- ####################################################################################################### -->
			<div class="wrapper">
			  <div class="container">
				<div class="content">
				  <div id="hpage_latest">
					<h2>Các tin trước</h2>
					<ul>
					  <li><img src=<?php echo $ttsk[8]->anhbia;?> alt="" />
						<p><?php echo substr($ttsk[8]->tieude,0,30); ?></p>
						<p><?php echo substr($ttsk[8]->noidung,0,200); ?></p>
						<p class="readmore"><a href="#">Đọc tiếp &raquo;</a></p>
					  </li>
					  <li><img src=<?php echo $ttsk[9]->anhbia;?> alt="" />
						<p><?php echo substr($ttsk[9]->tieude,0,30); ?></p>
						<p><?php echo substr($ttsk[9]->noidung,0,200); ?></p>
						<p class="readmore"><a href="#">Đọc tiếp &raquo;</a></p>
					  </li>
					  <li class="last"><img src=<?php echo $ttsk[10]->anhbia;?> alt="" />
						<p><?php echo substr($ttsk[10]->tieude,0,30); ?></p>
						<p><?php echo substr($ttsk[10]->noidung,0,200); ?></p>
						<p class="readmore"><a href="#">Đọc tiếp &raquo;</a></p>
					  </li>
					</ul>
					<br class="clear" />
				  </div>
				</div>
				<div class="column">
				  <div class="holder" ><a href="http://www.ctu.edu.vn/"><img id='ctu' src="images/dhct.jpg" alt="" /></a></div>
				  <div class="holder"><a href="http://websrv2.ctu.edu.vn/dept/dpa/"><img id='pctsv' src="images/pctsv.gif" alt="" /></a></div>
				</div>
				<br class="clear" />
			  </div>
			</div>
			<!-- ####################################################################################################### -->
			<!-- ####################################################################################################### -->
			<div class="wrapper">
			  <div id="socialise">
				<ul>
				  <li  style='width:150px'><a href="http://www.cit.ctu.edu.vn/"><img id='cntt' src="images/cict.jpg" alt="" /><span>CNTT&TT DHCT</span></a></li>
				  <li><a href="http://yu.ctu.edu.vn/"><img id='hsvdhct'src="images/studentunion.gif" alt="" /><span>Hội sinh viên DHCT</span></a></li>
				  <li class="last"><a href="http://www.lrc.ctu.edu.vn/"><img id='tthl' src="images/tthl.jpg" alt="" /><span>Trung tâm học liệu DHCT</span></a></li>
				</ul>
				<div id="newsletter">
				  <h2>NewsLetter Sign Up !</h2>
				  <p>Please enter your Email and Name to join.</p>
				  <form action="#" method="post">
					<fieldset>
					  <legend>Digital Newsletter</legend>
					  <div class="fl_left">
						<input type="text" value="Enter name here&hellip;"  onfocus="this.value=(this.value=='Enter name here&hellip;')? '' : this.value ;" />
						<input type="text" value="Enter email address&hellip;"  onfocus="this.value=(this.value=='Enter email address&hellip;')? '' : this.value ;" />
					  </div>
					  <div class="fl_right">
						<input type="submit" name="newsletter_go" id="newsletter_go" value="&raquo;" />
					  </div>
					</fieldset>
				  </form>
				  <p>To unsubsribe please <a href="#">click here &raquo;</a>.</p>
				</div>
				<br class="clear" />
			  </div>
			</div>
			<!-- ####################################################################################################### -->
			<div class="wrapper col8">
			  <div id="copyright">
				<p class="fl_left">Copyright &copy; 2011 - All Rights Reserved - <a href="#">Domain Name</a></p>
				<p class="fl_right">Template by <a href="http://www.os-templates.com/" title="Free Website Templates">OS Templates</a></p>
				<br class="clear" />
			  </div>
			</div>
		</div>
	</div>
</body>
</html>
